package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActQuestion extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActQuestion() {}
	public ActQuestion(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="所属题库不能为空")
	  private java.lang.Long categoryId;

	@javax.validation.constraints.NotNull(message="问题类型不能为空")
	  private java.lang.Long type;
	  private java.lang.Byte level;
	@javax.validation.constraints.NotNull(message="试题难度不能为空")
	  private java.lang.Long difficulty;
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="单选题多选题判断答案长度不能大于20")
	  private java.lang.String answerDxMxPd;
	@org.hibernate.validator.constraints.Length(min=0,max=600,message="填空题答案长度不能大于600")
	  private java.lang.String answerTk;
	  private java.lang.Integer testTimes;
	  private java.lang.Integer rightTimes;
	  private java.lang.Integer wrongTimes;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="关键词长度不能大于60")
	  private java.lang.String keyword;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="来源长度不能大于50")
	  private java.lang.String reference;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="标签长度不能大于60")
	  private java.lang.String tags;
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="创建者长度不能大于50")
	  private java.lang.String creatorUser;
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	  private java.lang.Long creatorUserId;
 
	@javax.validation.constraints.NotBlank(message="问题内容不能为空")
	@javax.validation.constraints.NotNull(message="问题内容不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="问题内容长度不能大于2,147,483,647")
	  private java.lang.String content;
 
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="简答题论述分析答案长度不能大于65,535")
	  private java.lang.String answerJdLsFx;
 
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="问题解析长度不能大于65,535")
	  private java.lang.String analysis;
 
	//<-------------------------------------------->
	public ActQuestion setCategoryId(java.lang.Long categoryId){
	 this.categoryId=categoryId;
	 return this;
	}
	public java.lang.Long getCategoryId(){
		return this.categoryId;
	}
	public ActQuestion setType(java.lang.Long type){
	 this.type=type;
	 return this;
	}
	public java.lang.Long getType(){
		return this.type;
	}
	public ActQuestion setLevel(java.lang.Byte level){
	 this.level=level;
	 return this;
	}
	public java.lang.Byte getLevel(){
		return this.level;
	}
	public ActQuestion setDifficulty(java.lang.Long difficulty){
	 this.difficulty=difficulty;
	 return this;
	}
	public java.lang.Long getDifficulty(){
		return this.difficulty;
	}
	public ActQuestion setAnswerDxMxPd(java.lang.String answerDxMxPd){
		this.answerDxMxPd=answerDxMxPd==null?null:answerDxMxPd.trim();
	 return this;
	}
	public java.lang.String getAnswerDxMxPd(){
		return this.answerDxMxPd;
	}
	public ActQuestion setAnswerTk(java.lang.String answerTk){
		this.answerTk=answerTk==null?null:answerTk.trim();
	 return this;
	}
	public java.lang.String getAnswerTk(){
		return this.answerTk;
	}
	public ActQuestion setTestTimes(java.lang.Integer testTimes){
	 this.testTimes=testTimes;
	 return this;
	}
	public java.lang.Integer getTestTimes(){
		return this.testTimes;
	}
	public ActQuestion setRightTimes(java.lang.Integer rightTimes){
	 this.rightTimes=rightTimes;
	 return this;
	}
	public java.lang.Integer getRightTimes(){
		return this.rightTimes;
	}
	public ActQuestion setWrongTimes(java.lang.Integer wrongTimes){
	 this.wrongTimes=wrongTimes;
	 return this;
	}
	public java.lang.Integer getWrongTimes(){
		return this.wrongTimes;
	}
	public ActQuestion setKeyword(java.lang.String keyword){
		this.keyword=keyword==null?null:keyword.trim();
	 return this;
	}
	public java.lang.String getKeyword(){
		return this.keyword;
	}
	public ActQuestion setReference(java.lang.String reference){
		this.reference=reference==null?null:reference.trim();
	 return this;
	}
	public java.lang.String getReference(){
		return this.reference;
	}
	public ActQuestion setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public ActQuestion setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public ActQuestion setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public ActQuestion setTags(java.lang.String tags){
		this.tags=tags==null?null:tags.trim();
	 return this;
	}
	public java.lang.String getTags(){
		return this.tags;
	}
	public ActQuestion setCreatorUser(java.lang.String creatorUser){
		this.creatorUser=creatorUser==null?null:creatorUser.trim();
	 return this;
	}
	public java.lang.String getCreatorUser(){
		return this.creatorUser;
	}
	public ActQuestion setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public ActQuestion setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public ActQuestion setAnswerJdLsFx(java.lang.String answerJdLsFx){
		this.answerJdLsFx=answerJdLsFx==null?null:answerJdLsFx.trim();
	 return this;
	}
	public java.lang.String getAnswerJdLsFx(){
		return this.answerJdLsFx;
	}
	public ActQuestion setAnalysis(java.lang.String analysis){
		this.analysis=analysis==null?null:analysis.trim();
	 return this;
	}
	public java.lang.String getAnalysis(){
		return this.analysis;
	}

}
